﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace dogetrader.CryptsyAPI
{
    /**
     * Class structured to parse Cryptsy's "getinfo" API response for current balances, etc.  
     */
    class GetInfo
    {
        public int success { get; set; }
        public GIReturn @return { get; set; }
        public string error { get; set; }
    }
    class GIReturn
    {
        public GIBalances balances_available { get; set; }
        public GIBalances balances_hold { get; set; }
        public string servertimezone { get; set; }
        public int openordercount { get; set; }
    }
    class GIBalances
    {
        public double BTC { get; set; }
        public double Points { get; set; }
        public double DOGE { get; set; }
        //todo: implement other coin varieties
    }
}
